Confirm model change difference¶
Overview¶
Next Design allows you to see the model change differences compared to previous project files and previous configuration-managed revisions.
The procedure for checking the model change difference is described in the following order.
- Select comparison target
- Identify differences in the project
- Check the model change difference
- End comparison
Select comparison target¶
There are several ways to compare projects:
- Compare with the original project file
- Compare with previous revision
- Compare between any revisions
For each of the above, the selection method of the comparison target is explained below.
Comparison with the project file before change¶
Follow the steps below to compare the project file currently being edited with the unmodified project file saved as a separate file.
Operating procedure
- From the ribbon, click Team Collaboration> Difference> Comparison Target and then Compare with a Project File.
- In the [Select comparison project] dialog, select the project file to compare and click the [Open] button.
- When the comparison target is selected, the differences are displayed in the model navigator and the model editor.
Comparison with previous revision¶
To edit a project registered in the configuration management repository and edit it against an earlier revision, do the following:
Operating procedure
- From the ribbon, click Team Collaboration> Difference> Comparison Target and click Compare with a Revision.
- In the [Log Messages] dialog, select the revision to compare and click the [OK] button.
- When the comparison target is selected, the differences are displayed in the model navigator and the model editor.
Compare Revisions¶
To compare two already committed revisions of a project registered in the configuration management repository:
Operating procedure
- When using the configuration management repository from Next Design for the first time, register the configuration management repository in advance according to Link with Configuration Management System> Manage Repository Registration. I'll leave it.
- From the ribbon, click Team Collaboration> Difference> Comparison Target and click Compare Revisions.
- In the [Repository Selection] dialog, select the repository in which the project to be compared is registered, and click the [Next] button.
- Select the folder in which the project to be compared is stored from the folders of the configuration management repository displayed in the tree, and click the [OK] button.
- Select two revisions to compare from the grid displayed revision list while pressing the Ctrl key, and then click the [OK] button.
- When the comparison target is selected, the differences are displayed in the model navigator and the model editor.
Attention
- The open project file is closed when this function is executed.
- The compared project is opened as a read-only temporary file and cannot be edited.
Identifying differences in the project¶
When you select a comparison target, the icon and label color of the model will switch in the model navigator so that you can see the difference in the project.
Icon | Label color | Meaning |
---|---|---|
Normal icon | Normal color | Unchanged model |
Normal icon | Orange | Models whose subordinate models have been changed |
With change mark | Orange | The changed model or the model in which the child model is added/deleted |
With addition mark | Green | Added model |
Note
- When a model with a relationship is added or deleted, the parent model and the model with a reference relationship are also displayed as changed with a change mark.
Attention
- The deleted model will not be displayed in the model navigator. Instead, the parent model of the deleted model is displayed with a change mark, so check the deleted model from the change difference of the parent model.
Check model change difference¶
When you select the comparison target, the model before and after the change is displayed side by side so that the change difference can be seen on the model editor, and the change difference is displayed in different colors.
-
Example of difference display in diagram
-
Example of difference display other than diagrams
-
Legend of color coded display
Color Meaning Green Additions Orange Changes Red Deleted parts
Other operating procedures
- To temporarily show or hide the old model, click Team Collaboration> Difference> Show Diff Before from the ribbon.
- To temporarily show/hide the change diff, click Team Collaboration> Difference> Show Diff from the ribbon.
Attention
- Even if a model with a change mark is displayed on the model navigator, the changed part of the model may not be displayed. This is because the values and associations of properties that aren't visible in the view may change. In that case, switch to another view to see it, or view the Property tab in the Inspector to see more model details.
- To confirm the deleted model, display the parent model with the change mark and display the comparison targets before the change side by side.
End comparing¶
To finish the change diff comparison, do the following:
Operating procedure
- From the ribbon, click Team Collaboration> Difference> End comparing.
- This will cancel the difference display and return the comparison target to the unselected state.